package com.laikan.reader.bookstore.activity;

import android.view.View;
import com.laikan.reader.bookstore.base.BasicWebViewActivity;

/**
 * Created by Administrator on 2016/10/19.
 */
public class BookStoreCalssifyActivity extends BasicWebViewActivity {

    @Override
    protected void assignViews() {
        super.assignViews();
    }

    @Override
    protected void initData() {
        super.initData();
        // TODO: 2016/11/3 去掉默认url
        if (getIntent() != null && getIntent().getStringExtra("htmlUrl") != null) {
            boolean isShowSearch = getIntent().getBooleanExtra("isShowSearch", true);
            if (!isShowSearch) {
                iv_search.setVisibility(View.GONE);
            }
            setPageLoadData(getIntent().getStringExtra("title"), getIntent().getStringExtra("htmlUrl"));
        }else {
            finish();
        }
    }

    @Override
    protected void setListener() {
        super.setListener();
    }
}
